package com.tinyideatech.system.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.tinyideatech.common.core.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * @author zhangy-5
 * @date 2019-09-09
 */
@Data
@TableName("car_device")
public class CarDevice extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 设备编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private Long memberId;

    private String deviceId;

    private String mobile;

    /**
     * 设备属性
     */
    private String deviceProperties;

    /**
     * 设备激活状态
     */
    private Integer deviceActiveStatus;

    /**
     * 设备的adas激活码
     */
    private String deviceAdas;

    /**
     * 设备远程监控激活状态
     * 0 未激活
     * 1 激活
     * 2 续费
     */

    private Integer deviceRmon;

    /**
     * 设备车模数量
     */
    private Integer deviceModelNum;


    private String createBy;

    private Date createTime;

    private String updateBy;

    /**
     * 激活码修改时间
     */
    private Date updateTime;

    private Date acticeTime;

    private Date dmonEndTime;

    @TableLogic
    private String delFlag;

}
